﻿using System;

namespace DigitalQuran.Research
{
    /// <summary>
    /// Custom Attribute for Research Functions
    /// </summary>
    public class ResearchMethodAttribute : Attribute
    {
        /// <summary>
        /// Create new instance assumning function visible for all editions
        /// </summary>
        public ResearchMethodAttribute()
        {
            VisibleEdition = Edition.Grammar | Edition.Lite | Edition.Research | Edition.Standard;
        }

        /// <summary>
        /// Create new instance specifying edition in which function will be visible
        /// </summary>
        /// <param name="edition">Flaged Edition for which research function will be visible</param>
        public ResearchMethodAttribute(Edition edition)
        {
            VisibleEdition = edition;
        }

        /// <summary>
        /// Gets the edition for which this function is visible
        /// </summary>
        public Edition VisibleEdition { get; private set; }
    }

    public sealed class ResearchMethod
    {

    }
}